package com.caishi.lkx.user.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author by keray
 * date:2019/7/26 16:01
 * 热词
 */

public enum HotWordType {
    //
    question("试题热词", 0),
    paper("试卷热词", 1),
    resource("资料资讯", 2),
    ;

    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    HotWordType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
